package com.ferryc.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/*
 *  Created by Ferry Chen on 2019-11-05.
 */
@Data
@TableName("t_products")
public class Products {
    @TableId(value = "id", type = IdType.UUID)
    private String id;
    @TableField(value = "product_code", exist = true)
    private String productCode;
    @TableField(value = "product_name", exist = true)
    private String productName;
    private Double price;


}